<template>
  <view class="mySearch">
    <navigator class="mySearchBox" url="/subpkg/search/search">
      <uni-icons type="search" size="17"></uni-icons>
      <text class="placeholder">搜索</text>
    </navigator>
  </view>
</template>

<script>
  export default {
    name: "search",
    data() {
      return {

      };
    }
  }
</script>

<style lang="scss">
  .mySearch {
    display: flex;
    align-items: center;
    height: 100rpx;
    background-color: #C00000;

    .mySearchBox {
      width: 90%;
      height: 80rpx;
      line-height: 80rpx;
      margin: 0 auto;
      text-align: center;
      border-radius: 90rpx;
      background-color: white;
    }
  }
</style>